package com.xr.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.xr.mapper.PermissionMapper;
import com.xr.pojo.Permission;
import com.xr.service.PermissionService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class PermissionServiceImpl implements PermissionService {
    @Autowired
    private PermissionMapper permissionMapper;

    @Override
    public List<Permission> findAll() {
        return permissionMapper.selectByExample(null);
    }
}
